package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件项属性对象 event_item_property
 *
 * @author elai
 * @date 2021-04-03
 */
public class EventItemPropertyDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String eventItemCode;

    /** 表达式 */
    @Excel(name = "表达式")
    private String eventItemExpression;

    /** 值类型 */
    @Excel(name = "值类型")
    private String valueType;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setEventItemCode(String eventItemCode)
    {
        this.eventItemCode = eventItemCode;
    }
    public String getEventItemCode()
    {
        return eventItemCode;
    }

    public void setEventItemExpression(String eventItemExpression)
    {
        this.eventItemExpression = eventItemExpression;
    }
    public String getEventItemExpression()
    {
        return eventItemExpression;
    }

    public void setValueType(String valueType)
    {
        this.valueType = valueType;
    }
    public String getValueType()
    {
        return valueType;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventItemCode", getEventItemCode())
            .append("eventItemExpression", getEventItemExpression())
            .append("valueType", getValueType())
            .toString();
    }
}
